class Event < ActiveRecord::Base
  belongs_to :course
  belongs_to :user
  has_one :event_blob, :dependent => :destroy

  validates_presence_of :course
  validates_presence_of :name
  validates_presence_of :due_date
end
